//
//  ViewController.h
//  ios-test
//
//  Created by Apple -11 on 15/10/9.
//  Copyright (c) 2015年 Apple -11. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "RegistViewController.h"
#import "goodsViewController.h"
#import "SetPasswordViewController.h"
#import "MLoginService.h"
@interface ViewController : UIViewController<UITextViewDelegate,UITextFieldDelegate,UIAlertViewDelegate,SetPassWordViewControllerDelegate>{
    IBOutlet UITextField *userText;
    IBOutlet UITextField *passText;
    IBOutlet UIButton *loginBtn;
    IBOutlet UIButton *registBtn;
    
    IBOutlet UISwitch *move;
    
    IBOutlet UIView *buttonView;
    
    
    RegistViewController *registView;
    
    NSUserDefaults  *user;
    NSUserDefaults  *user1;
    goodsViewController *good;
    
    IBOutlet UIImageView *imageView;
}

-(IBAction)tapSwitch:(id)sender;
-(IBAction)tapBackground:(id)sender;
-(IBAction)toLogin:(id)sender;
-(IBAction)toRegist:(id)sender;
-(IBAction)tapBack:(id)sender;
@end

